﻿//-----------------------------------------------------------------------
// <copyright file="IIdentityBusinessObject.cs" company="FastNET Services">
//     Copyright (c) 2007-2013. All Rights Reserved.
// </copyright>
// <warranty>
//     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
//     BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
//     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
//     DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
//     OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// </warranty>
//-----------------------------------------------------------------------
#region Usings

using FastNet.RepositorySystem;

#endregion

namespace FastNet.BusinessSystem.Interfaces
{
    /// <summary>
    /// Base interface for all business objects that contain a primary ID in the data store
    /// </summary>
    public interface IIdentityBusinessObject
    {
        /// <summary>
        /// Gets a value indicating the unique identifier for the data store
        /// </summary>
        Identity Id { get; }
    }
}
